package com.example.service;

import com.example.model.pojo.Competition;
import org.springframework.data.relational.core.sql.In;

import java.util.Date;
import java.util.List;

/**
 * @Description //TODO
 * @Date 2022/9/20 
 * @Author cxy
 **/
public interface CompetitionService {
    List<Competition> findAll();

    void updateStatus();

    List<Integer>findActiveIds();

    void updateEndStatus();

    List<Integer> findEndIds();

    String getStatus(Integer cId);

    void saveToRbm(Integer cId,String username);

    Long downCount(Integer id);
}
